package com.woniuxy.service;

import com.woniuxy.entity.Merchants;
import com.woniuxy.entity.Organization;
import com.woniuxy.entity.ResponseEntity;

import java.util.List;


public interface OrganizationService {
    ResponseEntity findAll(int currentPage, int pageSize);
    ResponseEntity findType();
    ResponseEntity findAttr();
    ResponseEntity findCategory();
    ResponseEntity addOne(Organization organization);
    ResponseEntity updateOne(Organization organization);
    ResponseEntity deleteOne(int id);
    ResponseEntity findByContext(Organization organization);
    ResponseEntity findParent();
    ResponseEntity findOrganization();
    ResponseEntity batchDelete(int[] ids);
    ResponseEntity importExcel(List<Organization> list);
    ResponseEntity findAll();
    ResponseEntity findByNo(String no);
}
